<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta content="text/html;charset=UTF-8"/>
    </head>
    <body>
        <h6>Thymeleaf 模板引擎</h6>
        <table border="1" bgcolor="#f0ffff">
            <thead>
            <tr>
                <th>序号</th>
                <th>日志内容</th>
                <th>ip号</th>
                <th>创建时间</th>
            </tr>
            </thead>
            <!--th:each表示循环遍历，和Vue一样-->
            <tbody th:each="logList : ${list}">
            <tr>
                <td th:text="${logList .id}"></td>
                <td th:text="${logList .content}"></td>
                <td th:text="${logList .ip}"></td>
                <td th:text="${logList .createTime}"></td>
            </tr>
            </tbody>
        </table>
    </body>
</html>